package com.fuluwa.domain.product.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.fuluwa.domain.product.model.Category;

public interface CategoryRepository extends JpaRepository<Category, Long> {
	List<Category> findByLevel(int level);

	List<Category> findByParnet(Category parnet);
}
